From: Eric Trudeau Date: Fri, 12 Jul 2013 17:30:48 +0000 (-0400) Subject: xen/arm: Clear the IRQ_GUEST bit in desc->status when releasing an IRQ X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6618 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=47193a4437f18cce75230e0fb1ca3b3c78fec7b0;p=xen.git xen/arm: Clear the IRQ_GUEST bit in desc->status when releasing an IRQ While adding support for guest domU IRQs, I noticed that release_irq did not clear the IRQ_GUEST bit in the IRQ's desc->status field. This is probably not a big deal since not many situations are likely to arise where an IRQ is sometimes host and sometimes guest. Signed-off-by: Eric Trudeau Acked-by: Stefano Stabellini --- diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index cafb68110a..ccce56543c 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -522,6 +522,7 @@ void __init release_irq(unsigned int irq) action = desc->action; desc->action = NULL; desc->status |= IRQ_DISABLED; + desc->status &= ~IRQ_GUEST; spin_lock(&gic.lock); desc->handler->shutdown(desc);